Skip to content

feat: initial setup of the kubernetes extension - #1

Merged
Cali0707 merged 4 commits into
mcpchecker:mainfrom
Cali0707:main
Jan 20, 2026
Merged

feat: initial setup of the kubernetes extension#1
Cali0707 merged 4 commits into
mcpchecker:mainfrom
Cali0707:main

Conversation

@Cali0707

Copy link
Copy Markdown
Contributor

Note: I will add a README with usage instructions after verifying the release process works and is compatible with the github extension references in gevals core

Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
Signed-off-by: Calum Murray <cmurray@redhat.com>
@Cali0707
Cali0707 requested a review from matzew January 20, 2026 14:18
Comment thread pkg/extension/wait.go
err = wait.PollUntilContextTimeout(ctx, time.Second, timeout, true, func(ctx context.Context) (bool, error) {
obj, getErr := e.client.Get(ctx, gvr, ref.name, ref.namespace)
if getErr != nil {
return false, nil // Keep polling on transient errors

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we want to differentiate on things like IsNotFound ? Or is that good for now?

Comment thread pkg/extension/wait.go

timeoutStr, _ := args["timeout"].(string)
if timeoutStr == "" {
timeoutStr = "60s"

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could be a constant, since the operation also says that default is 60

@matzew

matzew commented Jan 20, 2026

Copy link
Copy Markdown
Contributor

Generally LGTM

@Cali0707
Cali0707 merged commit ef62195 into mcpchecker:main Jan 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants